package br.com.gerenteweb.constant;

import java.awt.event.ActionEvent;
import java.util.Date;

import javax.faces.bean.ManagedBean;

@ManagedBean
public class GetDataAtual {
	private Date dataAtual = new Date();

	/**
	 * busca a data atual
	 * 
	 * @param e
	 *            actionEvent
	 */
	public void buscarDataAtual(ActionEvent e) {
		dataAtual = new Date();
	}

	public Date getDataAtual() {
		return dataAtual;
	}

	public void setDataAtual(Date dataAtual) {
		this.dataAtual = dataAtual;
	}

}
